home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / utilities / pu132.dms / pu132.adf / s / .edrc next >
Text File  |  1991-07-28  |  4KB  |  111 lines

  1. #DME Windows-style setup file - do not delete and carry in s: if you
  2. #move DME and you want the file requester etc
  3. #
  4. #   WindowsBench 1.0 DME menus
  5. #   ~~~~~~~~~~~~~~~~~~~~~~~~~~
  6. #   Menus by Mike Doodson, July 1991
  7.  
  8. #Initial Settings
  9. insertmode on
  10. savetabs on
  11. addpath s:
  12. margin 70
  13. wordwrap off
  14.  
  15. #User Key Mapping
  16. map (bs)     (ifelse !l (bs) (up last join))
  17. map (del)    (ifelse !r (del) (join))
  18. map (return) (split down first)
  19. map (left)   (ifelse l `if !t `up last'' left)
  20. map (right)  (ifelse r `if !b `down first'' right)
  21. map (help)   (newwindow newfile sys:s/General.hlp menuoff title Help)
  22. map (f1)     (help)
  23. map (s-up)   (pageup)
  24. map (s-down) (pagedown)
  25. map (c-up)   (top)
  26. map (c-down) (bottom)
  27. map (R-rmb)  (menuon)
  28.  
  29. map (f2) ()
  30. map (f3) (ifelse !m quit arpsave)
  31. map (f4) ()
  32. map (f5) ()
  33. map (f6) ()
  34. map (f7) ()
  35. map (f8) ()
  36. map (f9) ()
  37. map (f10) ()
  38.  
  39. #Menus definitions
  40.  
  41. menuoff
  42. menuadd ([-]   ) Restore     (resize 77 23)
  43. menuadd ([-]   ) Size        (escimm (resize ))
  44. menuadd ([-]   ) Minimise    (iconify)
  45. menuadd ([-]   ) Maximise    (resize 77 30)
  46. menuadd ([-]   ) Shell       (execute newshell)
  47. menuadd ([-]   ) (More DME) (newwindow arpload)
  48. menuadd ([-]   ) (---------) ()
  49. menuadd ([-]   ) Close       (quit)
  50.  
  51. menuadd (File  ) New           (newfile unnamed)
  52. menuadd (File  ) Open          (arpload chfilename \$filename)
  53. menuadd (File  ) (Insert File) (arpinsfile)
  54. menuadd (File  ) Save          (if m saveold saveas RAM:dme.wrk)
  55. menuadd (File  ) (Save As)     (arpsave saveas RAM:dme.wrk)
  56. menuadd (File  ) (---------)   ()
  57. menuadd (File  ) (Print File)  (saveas RAM:dme.prn execute (system/pptype RAM:dme.prn) execute (del RAM:dme.prn))
  58. menuadd (File  ) (Print ?)     (execute (system/pptype))
  59. menuadd (File  ) (--------- )  ()
  60. menuadd (File  ) Exit          (quit)
  61.  
  62. menuadd (Edit  ) Undo          (insfile RAM:dme.temp)
  63. menuadd (Edit  ) (---------)   ()
  64. menuadd (Edit  ) (Cut Block)   (bsave RAM:dme.temp bdelete)
  65. menuadd (Edit  ) (Cut Line) (first block last block bsave RAM:dme.temp bdelete first)
  66. menuadd (Edit  ) (Copy Block)  (bcopy)
  67. menuadd (Edit  ) Paste         (insfile RAM:dme.temp)
  68. menuadd (Edit  ) (Mark Block)  (block)
  69. menuadd (Edit  ) UnMark (unblock)
  70.  
  71. menuadd Search Find            (c-up escimm (find ))
  72. menuadd Search (Repeat Last Find)   (next)
  73. menuadd Search Change            (escimm (findr ))
  74. menuadd Search (Repeat Last Change) (nextr)
  75. menuadd Search (Global Replace)     (escimm (findstr ) escimm (repstr ) repeat lbot(nextr))
  76. menuadd Search (Ignore Case on S&R) (ignorecase toggle)
  77.  
  78. menuadd Character (Normal/Reset)  ( `\\\' )
  79. menuadd Character (Bold on)       ( `\\\' )
  80. menuadd Character (Italic on)     ( `\\\' )
  81. menuadd Character (Underlined on) ( `\\\' )
  82. menuadd Character (Colour 0)      ( `\\\' )
  83. menuadd Character (Colour 1)      ( `\\\' )
  84. menuadd Character (Colour 2)      ( `\\\' )
  85. menuadd Character (Colour 3)      ( `\\\' )
  86.  
  87. menuadd Paragraph (Reformat)  (last while !l (up last) down REFORMAT)
  88. menuadd Paragraph (Justify Even) (last while !l (up last) down reformat down last while !l (up justify full down down last))
  89. menuadd Paragraph (Justify Left) (last while !l (up last) down reformat down last while !l (up unjustify down down last))
  90. menuadd Paragraph (Indent)    ( `\\\         ' setparcol 9)
  91. menuadd Paragraph (Indent Off)  (setparcol 0)
  92. menuadd Paragraph (--------)  ()
  93. menuadd Paragraph (Font set)  (escimm (setfont ))
  94. menuadd Paragraph (Font Help) (newwindow newfile sys:s/fonts.hlp menuoff title Fonts)
  95.  
  96. menuadd Document (*Header)           ()
  97. menuadd Document (Set Margin @60)   (MARGIN 60)
  98. menuadd Document (Reset Margin @70) (MARGIN 70)
  99. menuadd Document (Set Margin to:)   (escimm (margin ))
  100. menuadd Document (Wordwrap on/off)  (WORDWRAP toggle)
  101. menuadd Document (Insert on/off)    (insertmode toggle)
  102.  
  103. menuadd Help (General) (help)
  104. menuadd Help (Features)    (newwindow newfile sys:s/Features.hlp menuoff title Features)
  105. menuadd Help (About DME)   (newwindow newfile sys:s/About.hlp menuoff title (About DME))
  106.  
  107. menuon
  108.  
  109. #end of file
  110.  
  111.